package com.write.ibatis.session;

import com.write.ibatis.config.Configuration;

import java.util.List;

public interface SqlSession {
    <T> T selectOne(String statement, Object parameter);
    <E> List<E> selectList(String statement);
    <E> List<E> selectList(String statement, Object parameter);
    Configuration getConfiguration();
    <T> T getMapper(Class<T> type);
}
